import { components } from './components';
export { useList, LIST_TYPE } from './hooks/use-list';
export { useTable } from './hooks/use-table';
export { useDel, delConfirm } from './hooks/use-del';
export { baseConfirm, baseAlert } from './hooks/use-message';
export { useForm, useFormModal } from './hooks/use-form';

export default {
  install: (app: any) => {
    for (const key in components) {
      if (Object.prototype.hasOwnProperty.call(components, key)) {
        app.component(key, components[key]);
      }
    }
  }
};
